<?php

namespace app\model;

class LibraryBookModel extends \think\Model
{
    protected $table = "图书";
    protected $pk = "ISBN";

    public function addThisLibraryBook($libraryBook)
    {
        return $this->insert($libraryBook);
    }

    public function updateThisLibraryBook($book)
    {
        self::update($book);
    }

}